package com.zxjbyte.yiyi.module.plugin.sse.domain.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author zhangxingjia
 * @Date 2024/7/13 20:11
 * @Version: 1.0
 */
@Data
@Schema(description = "发送消息请求结构体")
public class MessageRequest {

    @Schema(description = "客户端id")
    private String clientId;

    @Schema(description = "消息内容")
    @NotBlank(message = "发送的消息不可为空！")
    private String message;
}
